package com.ruoyi.common.core.domain.entity;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资产对象 assets
 *
 * @author ruoyi
 * @date 2024-03-27
 */
@Data
public class Assets extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private String key;

    /** 资产id */
    private Long deptId;

    /** 父资产id */
    @Excel(name = "父资产id")
    private Long parentId;

    /** 祖级列表 */
    @Excel(name = "祖级列表")
    private String ancestors;

    /** 资产名称 */
    @Excel(name = "资产名称")
    private String deptName;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer orderNum;

    /** 负责部门 */
    @Excel(name = "负责部门")
    private String leader;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 计量单位（㎡、公顷、亩等） */
    @Excel(name = "计量单位", readConverterExp = "㎡=、公顷、亩等")
    private String unit;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal total;

    /** 租赁面积 */
    @Excel(name = "租赁面积")
    private BigDecimal rentalArea = new BigDecimal(0);

    /** 新增路径 */
    @Excel(name = "新增路径")
    private String urlAdd;

    /** 修改路径 */
    @Excel(name = "修改路径")
    private String urlEdit;

    /** 删除路径 */
    @Excel(name = "删除路径")
    private String urlDet;

    /** 剩余租赁面积 */
    private BigDecimal residualArea;

    private String parentName;

    private Long excludeId;
}
